/*
 * @Date: 2022-01-10 16:18:25
 * @LastEditors: 春贰
 * @Desc: 
 * @LastEditTime: 2022-03-30 14:48:56
 * @FilePath: \web\src\api\module\SysFile.js
 */
import http from '../http'

const Api = {
    list: '/file/list', 
    createdir: '/file/createdir',  
    edit: '/file/edit', 
    remove: '/file/remove',
    batchRemove: '/file/batchRemove'
}

export const list = data => { 
    return http.request({
        url: Api.list,
        data: data,
        method: 'POST'
    })
}

 
 
export const createdir = data => {
    return http.request({
        url: Api.createdir,
        data: data,
        method: 'POST', 
    })
}

 

export const edit = data => {
    return http.request({
        url: Api.edit,
        data: data,
        method: 'POST'
    })
}

export const remove = data => {
    return http.request({
        url: Api.remove,
        data: data,
        method: 'POST'
    })
}

export const batchRemove = data => {
    return http.request({
        url: Api.batchRemove,
        data: data,
        method: 'POST'
    })
}